package com.group.entity.publish_info;

import java.util.Date;
import java.lang.String;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**   
 * @Title: Entity
 * @Description: 公告
 * @author onlineGenerator
 * @date 2018-05-22 21:08:05
 * @version V1.0   
 *
 */
@Entity
@Table(name = "t_publish_info", schema = "")
@SuppressWarnings("serial")
public class PublishInfoEntity implements java.io.Serializable {
	/**主键*/
	private String id;
	/**主题*/
	private String theme;
	/**内容*/
	private String content;
	/**创建时间*/
	private Date createDate;
	/**创建人*/
	private String createUser;
	
	/**
	 *方法: 取得String
	 *@return: String  主键
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=36)
	public String getId(){
		return this.id;
	}

	/**
	 *方法: 设置String
	 *@param: String  主键
	 */
	public void setId(String id){
		this.id = id;
	}
	/**
	 *方法: 取得String
	 *@return: String  主题
	 */
	@Column(name ="THEME",nullable=true,length=100)
	public String getTheme(){
		return this.theme;
	}

	/**
	 *方法: 设置String
	 *@param: String  主题
	 */
	public void setTheme(String theme){
		this.theme = theme;
	}
	/**
	 *方法: 取得String
	 *@return: String  内容
	 */
	@Column(name ="CONTENT",nullable=true,length=200)
	public String getContent(){
		return this.content;
	}

	/**
	 *方法: 设置String
	 *@param: String  内容
	 */
	public void setContent(String content){
		this.content = content;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  创建时间
	 */
	@Column(name ="CREATE_DATE",nullable=true)
	public java.util.Date getCreateDate(){
		return this.createDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  创建时间
	 */
	public void setCreateDate(java.util.Date createDate){
		this.createDate = createDate;
	}
	/**
	 *方法: 取得String
	 *@return: String  创建人
	 */
	@Column(name ="CREATE_USER",nullable=true,length=36)
	public String getCreateUser(){
		return this.createUser;
	}

	/**
	 *方法: 设置String
	 *@param: String  创建人
	 */
	public void setCreateUser(String createUser){
		this.createUser = createUser;
	}
}
